package com.meatball.iot.common

import com.meatball.core.config.CustomThreadFactory
import java.util.concurrent.Executors

/**
 * 创建一个固定大小的线程池，用于处理客户端连接
 */
object ClientConnectionThreadPool {
    fun executorService() = Executors.newFixedThreadPool(10, CustomThreadFactory())
}